import os
import yaml

SPRINGROLE_ENV = os.environ.get("SPRINGROLE_ENV", "staging")

config_file = os.path.join(os.pardir, "./conf",
                           "{}.yaml".format(SPRINGROLE_ENV))
with open(config_file, 'r') as yaml_file:
    conf = yaml.full_load(yaml_file)

OCR_VISION = conf.get('ocr-vision')
